form {
    background-color:#d9e4f1;
    width:468px;   
    border: 1px solid #bababa;
    margin: 0 auto;
    font-family: Consolas, serif;
    padding-bottom:15px;
}
nav ul {
    margin: 0;
    padding: 0;
    background-color:#e0e5f5;
    background: -moz-linear-gradient(100% 100% 90deg, #e0e5f5, #FFF);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FFF), to(#e0e5f5));
    background: -webkit-linear-gradient(#e0e5f5, #FFF);
    background: -o-linear-gradient(#e0e5f5, #FFF);
    border: 1px solid #bababa;
       
}
nav ul li {
    display: inline-block;
    list-style-type: none;
    margin:0;    
    padding-left: 10px;
}

nav ul li:first-letter {
    text-decoration:underline;
}
#calculator_input {
    width:438px;
    height:55px;
    margin: 15px 15px 5px 15px;
    text-align:right;
    font-size:30px;
    font-weight:bold;
    background-color:#e0e5f5;
    background: -moz-linear-gradient(100% 100% 90deg, #FFF, #e0e5f5);
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#e0e5f5), to(#FFF));
    background: -webkit-linear-gradient(#FFF, #e0e5f5);
    background: -o-linear-gradient(#FFF, #e0e5f5);
    border: 1px solid #bababa;
    border-radius:3px;
}
#binary-display {
    border: 1px solid #bababa;
    border-radius:3px;
    margin:5px 15px 5px 15px;
    width:438px;
}
#binary-display td {
    padding:0 7px;
    line-height:100%;  
}
#binary-display tr:nth-of-type(2n) {
    padding:7px;
    color:#a0a0a0;
}

button {
    width: 40px;
    height: 35px;
    background: -webkit-linear-gradient(#F0F6FC 0, #E2EAF3 50%, #D5E0ED 51%, #D7E2EF 100%);
    background: -moz-linear-gradient(#F0F6FC 0, #E2EAF3 50%, #D5E0ED 51%, #D7E2EF 100%);
    background: -o-linear-gradient(#F0F6FC 0, #E2EAF3 50% #D5E0ED 51%, #D7E2EF 100%);
    background: linear-gradient(#F0F6FC 0, #E2EAF3 50%, #D5E0ED 51%, #D7E2EF 100%);
    border: 1px solid #bababa;
    border-radius:2px;
}
button:disabled {
    background:#d9e4f1;
    border: 1px solid #bababa;
    border-radius:3px;
}

.number {
     background: -webkit-linear-gradient(#f7fbff, #e7edf5, #ecf4fa);
}
button:hover:enabled, .number:hover {
    background: -webkit-linear-gradient(#FEF5EC 0, #FCE3C6 50%, #FBD075 51%, #FCF8CA 100%);
    background: -moz-linear-gradient(#FEF5EC 0, #FCE3C6 50%, #FBD075 51%, #FCF8CA 100%);
    background: -o-linear-gradient(#FEF5EC 0, #FCE3C6 50%, #FBD075 51%, #FCF8CA 100%);
    background: linear-gradient(#FEF5EC 0, #FCE3C6 50%, #FBD075 51%, #FCF8CA 100%);
    border:1px solid #F5D50F;
}
.long {
    width:84px;
}
.tall {
    height:74px;
}
.buttonCalculator {
    border: 1px solid #bababa;
    border-radius:3px;
    margin:5px 15px 5px 15px;
    padding:1px;
    width:82px;
}
#main_table {
        margin:0 auto;
        padding:0;
}
#main_table tr td {
    padding:1px;
}

input[type = "radio"] {
    margin: 0 -5px 0 5px;
}
div {
    margin: 5px 0;
}